package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.dealer.pojo.PartnerVO;
import com.yunxi.sto.pojo.*;

import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;

public class StoStockOutPlanDubboServiceMock implements StoStockOutPlanDubboService {
    @Override
    public StoStockOutPlanVO getById(String id) throws InvocationTargetException, IllegalAccessException {
        StoStockOutPlanVO vo = new  StoStockOutPlanVO();
        vo.setStockOutPlanNo("暂无数据");
        return vo;
    }

    @Override
    public StoStockOutPlanVO getDetail(String id) throws Exception {
        StoStockOutPlanVO vo = new  StoStockOutPlanVO();
        vo.setStockOutPlanNo("暂无数据");
        return vo;
    }

    @Override
    public void saveOrUpdate(StoStockOutPlanVO stoStockOutPlanVO) throws Exception {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public void delAndReset(List<String> list, Integer isDel, String userId) throws Exception {

    }

    @Override
    public void print(String stoStockOutPlanId) {

    }

    @Override
    public PageInfo vinList(PartnerVO vo, Integer pageNum, Integer pageSize) {
        PageInfo<StoStockOutPlanVinVO> page =  new   PageInfo<StoStockOutPlanVinVO>();
        List  list  =  new ArrayList();
        StoStockOutPlanVinVO vo1 =  new StoStockOutPlanVinVO();
        vo1.setVin("暂无数据");
        list.add(vo1);
        page.setList(list);
        return page;

    }

    @Override
    public void beginStockOut(StoStockScanVO stoStockScanVO) throws Exception {

    }

    @Override
    public void complete(StoStockScanVO stoStockScanVO, LoginInfo loginInfo) throws Exception {

    }

    @Override
    public void replace(StoStockOutPlanReplaceVO stoStockOutPlanReplaceVO, String userId) throws Exception {

    }

    @Override
    public void setDriver(StoStockOutDriverVO stoStockOutDriverVO, String userId) throws Exception {

    }

    @Override
    public List<StoStorageStaffDriverVO> getDriver(String planInOutDate) throws Exception {
        List  list  =  new ArrayList();
        StoStorageStaffDriverVO vo =  new StoStorageStaffDriverVO();
        vo.setStorageStaffName("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public List<StoStockOutPlanVO> getOutPlanByRfid(String rfid) throws Exception {
        List  list  =  new ArrayList();
        StoStockOutPlanVO vo =  new StoStockOutPlanVO();
        vo.setStockOutPlanNo("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public PageInfo<StoStockOutPlanVO> findPageByVO(StoStockOutPlanVO stoStockOutPlanVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException {
        PageInfo<StoStockOutPlanVO> page =  new   PageInfo<StoStockOutPlanVO>();
        List  list  =  new ArrayList();
        StoStockOutPlanVO vo =  new StoStockOutPlanVO();
        vo.setStockOutPlanNo("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;

    }

    @Override
    public PageInfo<StoStockOutPlanLateVO> lateStockOutPlan(StoStockOutPlanLateVO stoStockOutPlanLateVO, Integer pageNum, Integer pageSize) throws Exception {
        PageInfo<StoStockOutPlanLateVO> page =  new   PageInfo<StoStockOutPlanLateVO>();
        List  list  =  new ArrayList();
        StoStockOutPlanLateVO vo =  new StoStockOutPlanLateVO();
        vo.setStockOutPlanNo("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;
    }

    @Override
    public List<StoStockOutPlanVO> export(StoStockOutPlanVO stoStockOutPlanVO) throws Exception {
        List  list  =  new ArrayList();
        StoStockOutPlanVO vo =  new StoStockOutPlanVO();
        vo.setStockOutPlanNo("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public List<StoStockOutPlanVO> planListByVin(String vin, String rfid) throws Exception {
        List  list  =  new ArrayList();
        StoStockOutPlanVO vo =  new StoStockOutPlanVO();
        vo.setStockOutPlanNo("暂无数据");
        list.add(vo);
        return list;
    }
}
